package kr.hkit.powerjava.chapter5.work;

import java.util.Scanner;

public class progarmming3 {
	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		
		double cm;
		double ft;
		double in;
		
		
		System.out.println("cm를 입력하세요.");
		cm = input.nextDouble();
		in = cm / 2.54;
		ft = in / 12;
		
		System.out.println((int)cm + "cm는 " + (int)ft + "피트 " + in + "인치입니다.");
		
		
	}

}
